package com.yourname.myapplication.model

import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "questions")
data class Question(
    @PrimaryKey(autoGenerate = true) val id: Int = 0,
    val questionText: String,
    val options: String, // 可以将选项用逗号分隔存储为字符串
    val correctAnswerIndex: Int,
    val category: String
)